package com.bdqn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dede
 * @since 2020-05-23
 */
public class PsInspectiontaskMain extends Model<PsInspectiontaskMain> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("INSPECTIONTASKCODE")
    private String inspectiontaskcode;

    @TableField("INSPECTIONTASKNAME")
    private String inspectiontaskname;

    @TableField("LINEID")
    private Long lineid;

    @TableField("STARTPOLE")
    private Long startpole;

    @TableField("ENDPOLE")
    private Long endpole;

    @TableField("ISSUEDBYCODE")
    private String issuedbycode;

    @TableField("ISSUEDBYNAME")
    private String issuedbyname;

    @TableField("ISSUEDTIME")
    private LocalDateTime issuedtime;

    @TableField("taskStatusId")
    private Long taskStatusId;

    @TableField("FINISHTIME")
    private LocalDateTime finishtime;

    @TableField("ISCANCEL")
    private Integer iscancel;

    @TableField("COMMON")
    private String common;

    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    @TableField("CREATEDBY")
    private String createdby;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getInspectiontaskcode() {
        return inspectiontaskcode;
    }

    public void setInspectiontaskcode(String inspectiontaskcode) {
        this.inspectiontaskcode = inspectiontaskcode;
    }

    public String getInspectiontaskname() {
        return inspectiontaskname;
    }

    public void setInspectiontaskname(String inspectiontaskname) {
        this.inspectiontaskname = inspectiontaskname;
    }

    public Long getLineid() {
        return lineid;
    }

    public void setLineid(Long lineid) {
        this.lineid = lineid;
    }

    public Long getStartpole() {
        return startpole;
    }

    public void setStartpole(Long startpole) {
        this.startpole = startpole;
    }

    public Long getEndpole() {
        return endpole;
    }

    public void setEndpole(Long endpole) {
        this.endpole = endpole;
    }

    public String getIssuedbycode() {
        return issuedbycode;
    }

    public void setIssuedbycode(String issuedbycode) {
        this.issuedbycode = issuedbycode;
    }

    public String getIssuedbyname() {
        return issuedbyname;
    }

    public void setIssuedbyname(String issuedbyname) {
        this.issuedbyname = issuedbyname;
    }

    public LocalDateTime getIssuedtime() {
        return issuedtime;
    }

    public void setIssuedtime(LocalDateTime issuedtime) {
        this.issuedtime = issuedtime;
    }

    public Long getTaskStatusId() {
        return taskStatusId;
    }

    public void setTaskStatusId(Long taskStatusId) {
        this.taskStatusId = taskStatusId;
    }

    public LocalDateTime getFinishtime() {
        return finishtime;
    }

    public void setFinishtime(LocalDateTime finishtime) {
        this.finishtime = finishtime;
    }

    public Integer getIscancel() {
        return iscancel;
    }

    public void setIscancel(Integer iscancel) {
        this.iscancel = iscancel;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public LocalDateTime getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(LocalDateTime creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public LocalDateTime getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(LocalDateTime lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PsInspectiontaskMain{" +
        "id=" + id +
        ", inspectiontaskcode=" + inspectiontaskcode +
        ", inspectiontaskname=" + inspectiontaskname +
        ", lineid=" + lineid +
        ", startpole=" + startpole +
        ", endpole=" + endpole +
        ", issuedbycode=" + issuedbycode +
        ", issuedbyname=" + issuedbyname +
        ", issuedtime=" + issuedtime +
        ", taskStatusId=" + taskStatusId +
        ", finishtime=" + finishtime +
        ", iscancel=" + iscancel +
        ", common=" + common +
        ", creationtime=" + creationtime +
        ", createdby=" + createdby +
        ", lastupdatetime=" + lastupdatetime +
        "}";
    }
}
